package com.lyw.db.entites

import androidx.annotation.NonNull
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "questions")
data class Question(
    @PrimaryKey(autoGenerate = true)
    @NonNull
    var id: Int = 0,
    var type: Int,
    var knowledgeType:Int,
//    var knowledgeSubType:String,

    var topType:String?=null,
    var subType:String?=null,
    var question: String,
    var option: String, // 用逗号分隔的选项
    var answer: String
)